package java_test.polymorphism;

public class EncapTest {
    public static void main(String[] args) {
        RunEncap encap = new RunEncap();
        encap.setName("James");
        encap.setAge(20);
        encap.setInNum("12343ms");
        System.out.print("Name : " + encap.getName() + " Age : " + encap.getAge());
    }
}
